<div class="middle">
<div class="wrapper" >
	  <div class="container">
<div class="wrapper">
  <div class="container">
	<div class="content">
	  <div id="featured_slide">
		<ul id="featurednews">
		<?php
			$ttsk=array();
			$ttsk=TTSK::GetTinTucSuKienTheoCH('TL01',11);
			for($i=0;$i<5;$i++)
				  echo '<li><img src="'.$ttsk[$i]->anhbia.'" alt="" />
					<div class="panel-overlay">
					  <h2> '.substr($ttsk[$i]->tieude,0,30).' </h2>
					  <p>'.substr($ttsk[$i]->noidung,0,30).'
						<a href="ChiHoi.php?content=xemtin&matt='.$ttsk[$i]->mattsk .'">Đọc  tiếp &raquo;</a></p>
					</div>
				
				  </li>';
		  ?> 
		</ul>
	  </div>
	</div>
	
	<div class="column">
	  <ul class="latestnews">
		
		<?php
			for ($i=5;$i<8;$i++)
			echo '<li><img style="width:100px;height:100px" src="'.$ttsk[$i]->anhbia.'" alt="" />
		  <p><strong><a href="#">'. substr($ttsk[$i]->tieude,0,20).'</a></br></strong> '.substr($ttsk[$i]->noidung,0,50).'</p>
		</li>';
		?>
	  </ul>
	</div>
	<br class="clear" />
  </div>
</div>
<!-- ####################################################################################################### -->
<div class="wrapper">
  <div id="adblock">
	<div class="fl_left"><a href="#"><img class='advertise' src="images/advertise1.jpg" alt="" /></a></div>
	<div class="fl_right"><a href="#"><img  class='advertise' src="images/advertise2.jpg" alt="" /></a></div>
	<br class="clear" />
  </div>
  <div id="hpage_cats">
	<div class="fl_left">
	  <h2><a href=''>Kỹ năng sống &raquo;</a></h2>
		  <?php  
			$kns=array();
			$kns=TTSK::GetTinTucSuKienTheoCH("TL02",1);
		  ?>
	  <img class="caption_image" src=<?php echo $kns[0]->anhbia; ?> alt="" />
	  <p><strong><a href=<?php echo 'TinTuc_SuKien.php?content=xemtin&matt='.$kns[0]->mattsk; ?>> <?php echo substr($kns[0]->tieude,0,30); ?></a></strong></p>
	  <p><?php echo substr($kns[0]->noidung,0,200); ?></p>
	</div>
	<div class="fl_right">
	  <h2><a href="">Hoạt động &raquo;</a></h2>
	  <?php  
			$hd=array();
			$hd=TTSK::GetTinTucSuKienTheoCH("TL03",1);
		  ?>
	  <img class="caption_image" src=<?php echo $hd[0]->anhbia; ?> alt="" />
	  <p><strong><a href=<?php echo 'TinTuc_SuKien.php?content=xemtin&matt='.$hd[0]->mattsk; ?>> <?php echo substr($hd[0]->tieude,0,30); ?></a></strong></p>
	  <p><?php echo substr($hd[0]->noidung,0,200); ?></p>
	</div>
	<br class="clear" />
	<div class="fl_left">
	  <h2><a href="">Học tập &raquo;</a></h2>
	  <?php  
			$ht=array();
			$ht=TTSK::GetTinTucSuKienTheoCH("TL04",1);
		  ?>
	  <img class="caption_image" src=<?php echo $ht[0]->anhbia; ?> alt="" />
	  <p><strong><a href=<?php echo 'TinTuc_SuKien.php?content=xemtin&matt='.$gt[0]->mattsk; ?>> <?php echo substr($ht[0]->tieude,0,30); ?></a></strong></p>
	  <p><?php echo substr($ht[0]->noidung,0,200); ?></p>
	</div>
	<div class="fl_right">
	  <h2><a href="">Giải trí &raquo;</a></h2>
	  <?php  
			$gt=array();
			$gt=TTSK::GetTinTucSuKienTheoCH("TL05",1);
		  ?>
	  <img class="caption_image" src=<?php echo $gt[0]->anhbia; ?> alt="" />
	  <p><strong><a href=<?php echo 'TinTuc_SuKien.php?content=xemtin&matt='.$gt[0]->mattsk; ?>> <?php echo substr($gt[0]->tieude,0,30); ?></a></strong></p>
	  <p><?php echo substr($gt[0]->noidung,0,200); ?></p>
	</div>
	<br class="clear" />
  </div>
</div>
<!-- ####################################################################################################### -->
<div class="wrapper">
  <div class="container">
	<div class="content">
	  <div id="hpage_latest" style="width:650px">
		<h2>Các tin trước</h2>
		<ul>
		<?php 
			 for($i=8;$i<11;$i++)
						  echo '<li style="width:200px;height:300px;"><img style="width:190px;height:130px;display:inline"  src="'.$ttsk[$i]->anhbia.'" alt="" />
							<p>'.substr($ttsk[$i]->tieude,0,20).'</p>
							<p>'.substr($ttsk[$i]->noidung,0,50) .'</p>
							<p><a href="#">Đọc tiếp &raquo;</a></p>
						  </li>';
			  ?>
		</ul>
		<br class="clear" />
	  </div>
	</div>
	<div class="column">
				  <div class="holder" ><a href="http://www.ctu.edu.vn/"><img id='ctu' src="images/dhct.jpg" alt="" /></a></div>
				  <div class="holder"><a href="http://websrv2.ctu.edu.vn/dept/dpa/"><img id='pctsv' src="images/pctsv.gif" alt="" /></a></div>
				</div>
	<br class="clear" />
  </div>
</div>
<!-- ####################################################################################################### -->
<!-- ####################################################################################################### -->
<div class="wrapper">
  <div id="socialise">
	<ul>
				  <li><a href="http://www.cit.ctu.edu.vn/"><img id='cntt' src="images/cict.jpg" alt="" /><span>CNTT&TT DHCT</span></a></li>
				  <li><a href="http://yu.ctu.edu.vn/"><img id='hsvdhct'src="images/studentunion.gif" alt="" /><span>Hội sinh viên DHCT</span></a></li>
				  <li class="last"><a href="http://www.lrc.ctu.edu.vn/"><img id='tthl' src="images/tthl.jpg" alt="" /><span>Trung tâm học liệu DHCT</span></a></li>
				</ul>
	<br class="clear" />
  </div>
</div>

</div>
  </div>
</div>